package apiday03home;

import java.util.ArrayList;
import java.util.Collection;

public class RemoveHome {
    public static void main(String[] args) {
        Collection c = new ArrayList();
        c.add(new Point(1,2));
        c.add(new Point(3, 4));
        Point p = new Point(1,2);
        c.remove(p);
        System.out.println(c);
    }
}
